import request from '@/utils/request'

export function getAllRelation(param) {
  return request({
    url: '/mESTechnologySetTechnology/GetAll',
    method: 'get',
    params: param
  })
}
export function getListRelation(param) {
    return request({
      url: '/mESTechnologySetTechnology/list',
      method: 'get',
      params: param
    })
  }

export function getOneRelation(param) {
  return request({
    url: '/mESTechnologySetTechnology/Get',
    method: 'get',
    params: param
  })
}

export function createRelation(param) {
  return request({
    url: '/mESTechnologySetTechnology/save',
    method: 'post',
    data: param
  })
}

export function updateRelation(param) {
  return request({
    url: '/mESTechnologySetTechnology/save',
    method: 'post',
    data:param
  })
}
export function deleteBatchRelation(param) {
  let url ='/mESTechnologySetTechnology/deleteBatch'
  return request({
    url: url,
    method: 'delete',
    data: param
  })
}


